package com.msb.user.controller;

import com.msb.user.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @GetMapping("/user/{userId}")
    public Result getUserName(@PathVariable Integer userId){
        return Result.ok("善缘老师");
    }
}
